package com.hulu.yec.teach.testquestion.enetity;

public class QuestionEntity {

	private int id;
	private String question;
	private String attachment;
	private int question_type;
	private int course_id;
	private String answer_a;
	private String answer_b;
	public QuestionEntity(String question, String answer_a, String answer_b,
			String answer_c, String answer_d) {
		super();
		this.question = question;
		this.answer_a = answer_a;
		this.answer_b = answer_b;
		this.answer_c = answer_c;
		this.answer_d = answer_d;
	}

	private String answer_c;
	private String answer_d;
	private String answer;
	private int difficulty;
	private String analysis;
	private String keywords;
	private int operate_user_id;
	private String operate_time;
	private int state;
	private String memo;
	//附加属性
	private String courseName;
	private String userName;
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public QuestionEntity(){	
	}
	

	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAttachment() {
		return attachment;
	}
	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}
	public int getQuestion_type() {
		return question_type;
	}
	public void setQuestion_type(int question_type) {
		this.question_type = question_type;
	}
	public int getCourse_id() {
		return course_id;
	}
	public void setCourse_id(int course_id) {
		this.course_id = course_id;
	}
	public String getAnswer_a() {
		return answer_a;
	}
	public void setAnswer_a(String answer_a) {
		this.answer_a = answer_a;
	}
	public String getAnswer_b() {
		return answer_b;
	}
	public void setAnswer_b(String answer_b) {
		this.answer_b = answer_b;
	}
	public String getAnswer_c() {
		return answer_c;
	}
	public void setAnswer_c(String answer_c) {
		this.answer_c = answer_c;
	}
	public String getAnswer_d() {
		return answer_d;
	}
	public void setAnswer_d(String answer_d) {
		this.answer_d = answer_d;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public int getDifficulty() {
		return difficulty;
	}
	public void setDifficulty(int difficulty) {
		this.difficulty = difficulty;
	}
	public String getAnalysis() {
		return analysis;
	}
	public void setAnalysis(String analysis) {
		this.analysis = analysis;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public int getOperate_user_id() {
		return operate_user_id;
	}
	public void setOperate_user_id(int operate_user_id) {
		this.operate_user_id = operate_user_id;
	}
	public String getOperate_time() {
		return operate_time;
	}
	public void setOperate_time(String operate_time) {
		this.operate_time = operate_time;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Override
	public String toString() {
		return "QuestionEntity [id=" + id + ", question=" + question
				+ ", attachment=" + attachment + ", question_type="
				+ question_type + ", course_id=" + course_id + ", answer_a="
				+ answer_a + ", answer_b=" + answer_b + ", answer_c="
				+ answer_c + ", answer_d=" + answer_d + ", answer=" + answer
				+ ", difficulty=" + difficulty + ", analysis=" + analysis
				+ ", keywords=" + keywords + ", operate_user_id="
				+ operate_user_id + ", operate_time=" + operate_time
				+ ", state=" + state + ", memo=" + memo + ", courseName="
				+ courseName + ", userName=" + userName + "]";
	}
	
}
